<?php 
include "includes/session.php";
include "includes/comunes.php";

//realizo la consulta paro obtener los totales
$tabla="veh_gestion";
$condicion=" GestionId=".$_GET['ges_id'];
$orden=" order by  GestionId desc ";
$result=  cons_sql($tabla, $condicion, $orden);
//finc consulta
$reg=mysql_fetch_array($result);
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="estilos.css" rel="stylesheet" type="text/css" />
<!--libreria jquery central-->

<script src="jquery-ui/js/jquery-1.9.1.js"></script>
<!--fin libreria central-->
<!--librerias ui-->
<link href="jquery-ui/css/ui-lightness/jquery-ui-1.10.2.custom.css" rel="stylesheet"/>
<script src="jquery-ui/js/jquery-ui-1.10.2.custom.js"></script>
<!--fin libreria-->
<script language="JavaScript" type="text/javascript">
$(function()
{
 $( "#fecha" ).datepicker({
         dateFormat: "yy-mm-dd"

      });
	  $( "#menu" ).menu({position: {at: "left bottom"}});
});
</script>
</head>

<body  style="background:white;">
<div class="contenedor">
	<div class="cont">
    	
			<fieldset style="width:80%;">
			<legend><b>Visualizar Datos de Gestion</b></legend>
			
			<table>
   			    <tr>
                    <td class="textotablamenuform">Nro.</td>
                    <td class="textotablamenuform"><?php echo $reg['GestionId']?></td>
					<td class="textotablamenuform">Fecha</td>
                    <td class="textotablamenuform"><?php echo format_fec($reg['GestionFecha'],"/")?></td>
				</tr>
				 <tr>
                    <td class="textotablamenuform"><br>Estado</td>
                    <td class="textotablamenuform"><br><?php echo obtener_estado_gestion($reg['GestionEstado'])?></td>
					</tr>
				 <tr>
					<td class="textotablamenuform"><br>Observacion</td>
                    <td class="textotablamenuform"><br><?php echo $reg['GestionObservacion']?></td>
				</tr>
		    </table>

            </fieldset>
        	<div class="novedadesbottom"></div>
 

    
	<div id="clearing"></div>    
    </div>
<div id="clearing"></div>
</div>
</body>
</html>
